package com.whisper.common.core.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
public class ExceptionResult {

	public ExceptionResult(String message, Integer status, String error, String path) {
		this.msg = message;
		this.code = status;
		this.error = error;
		this.path = path;
	}

    /**
     * HttpStatus
     */
    private Integer code; 
    
    /**
     * 业务异常信息
     */
    private String msg;
    
	/**
	 * 默认异常信息
	 */
	private String error;    
    

    /**
     * 异常路径
     */
    private String path;

}
